package com.ruoyi.channelApi.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 渠道推送记录业务对象 t_channel_push
 *
 * @author ruoyi
 * @date 2023-10-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TChannelPushBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 渠道名称
     */
    //@NotBlank(message = "渠道名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channelName;

    /**
     * 渠道来源
     */
    //@NotBlank(message = "渠道来源不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channelSource;

    /**
     * 数据信息
     */
    //@NotBlank(message = "数据信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dataInfo;

    /**
     * 手机号
     */
    //@NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tel;

    private String phoneMd5;

    /**
     * 推送时间
     */
    //@NotNull(message = "推送时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date pushTime;


}
